﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CNVP.JShop.UI;
using CNVP.Framework.Utils;

namespace CNVP.JShop.Web.Admin.CommonWindows
{
    public partial class AjaxGetAddressrpList : AdminPage
    {
        public int GetAddress_Int = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!BLL.BLLCheckAdmin.LoginOk(Page, 97)) return;//判断页面权限
            string UserID = Request.QueryString["UserID"];
            if (string.IsNullOrEmpty(UserID) || !Public.IsNumber(UserID))
            {
                UserID = "0";
            }
            #region 收货确认信息
            var GetAddressList = new BLL.CNVP_GetAddress().GetAll_CNVP_GetAddressByUsersID(int.Parse(UserID));
            GetAddress_Int = GetAddressList.Count;
            rpList.DataSource = GetAddressList;
            rpList.DataBind();
            #endregion
        }
    }
}